<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="<s:url value="/css/style.css"/>" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <link href='http://fonts.googleapis.com/css?family=Signika+Negative' rel='stylesheet' type='text/css'>

        <title>IRSS - Edit User Information</title>
    </head>
    <body>
        <div id="contenidor">

            <div id="header" class="module">
                <div id="headerLogo">
                    <a href="<s:url value="/Lector/MostrarLector"/>"><img src="<s:url value="/img/logo-grande.gif"/>" title="home"/></a>			
                </div>
            </div>
            <div id="contenidorPrincipal">
                <div id="quadreEdit" class="module2">

                    <s:actionerror/>

                    <s:form name="formRegistre" action="EditUsuari" method="post">
                        <s:textfield name="nom" label="Name" required="true" maxlength="40" value='%{#session.usuariConectat.nom}'/>
                        <s:textfield name="email" label="EMail" required="true" maxlength="40" value="%{#session.usuariConectat.email}"/>
                        <s:textfield name="pais" label="Place" maxlength="30" value="%{#session.usuariConectat.pais}"/>

                        <p>Insert your password for validate</p>
                        <s:password name="password" label="Password" required="true" maxlength="8"/>

                        <s:submit value="Done"/>
                    </s:form>		

                    <p><a href="<s:url value="/Lector/MostrarLector"/>">Return to reader</a></p>


                </div>
            </div>
        </div>

    </body>
</html>